﻿using Microsoft.SqlServer.Dts.Pipeline;

namespace SSIS.MS.xRM.Destination
{
    [DtsPipelineComponent(DisplayName = "xRM 2011 Source",
        IconResource = "",
        UITypeName = "SSIS.MS.xRM.Destination.XRMDestinationUI,XRMDestinationUI,Version=1.0.0.0,Culture=neutral,PublicKeyToken=1cb51bba29f61409",
        ComponentType = ComponentType.DestinationAdapter)]
    public class XRMDestination : PipelineComponent
    {
        public override void AcquireConnections(object transaction)
        {

        }

        public override void DeleteInput(int inputID)
        {

        }

        public override void DeleteOutput(int outputID)
        {

        }

        public override string DescribeRedirectedErrorCode(int iErrorCode)
        {
            string errorDescription = null;
            if (iErrorCode == -1071628257)
            {
                errorDescription = base.ComponentMetaData.GetErrorDescription(iErrorCode);
            }
            return errorDescription;
        }
    }
}
